package cn.edu.ujn.lab3.service;

import cn.edu.ujn.lab3.dao.Customer;
import cn.edu.ujn.lab3.util.Page;

public interface CustomerService {
	public Page<Customer> findCustomerList(Integer page, Integer rows, String custName, String custSource,
			String custIndustry, String custLevel);

	public int createCustomer(Customer customer);

	// 通过id查询客户
	public Customer getCustomerById(Integer custId);

	public int updateCustomer(Customer customer);//更新

	// 删除客户
	public int deleteCustomer(Integer id);

}
